Package com.cisco.pt.ptmp.task
Class KeepAliveTask
java.lang.Object
java.util.TimerTask
com.cisco.pt.ptmp.task.KeepAliveTask
- All Implemented Interfaces:
Runnable
A
TimerTask to send keep alive
messages. The interval is determined by the
KEEP_ALIVE_INTERVAL static member defaulted to
20 seconds. The enclosing PT session instance
controls the scheduler.- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intHow often to send the keep alive messagestatic int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
KEEP_ALIVE_INTERVAL
public static int KEEP_ALIVE_INTERVALHow often to send the keep alive message -
KEEP_ALIVE_TIMEOUT
public static int KEEP_ALIVE_TIMEOUT
-
-
Constructor Details
-
KeepAliveTask
- Parameters:
packetTracerSession- PacketTracerSession
-
-
Method Details